package com.smedi.ismedi.notification.api.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author: xulinjun
 * @Date: 2021-7-12 9:54
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SendSmsRequest implements Serializable {
    @ApiModelProperty(value = "模板id")
    private Long smsTemplateId;

    @ApiModelProperty(value = "模板名称")
    private String smsTemplateName;

    @ApiModelProperty(value = "短信接收人", required = true)
    private List<String> receivers = new ArrayList<>();

    @ApiModelProperty(value = "模板参数")
    private List<String> parameters = new ArrayList<>();
}
